package com.zonda.myjacksonstudy.model;

import com.alibaba.fastjson.annotation.JSONField;


public class ArticleModel {

  private String pk;

  private String title;

  @JSONField(name = "author_name")
  private String authorName;

  @JSONField(name = "open_info")
  private OpenActionModel openInfo;

  private transient String transientModel;

  public String getPk() {
    return pk;
  }

  public void setPk(String pk) {
    this.pk = pk;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getAuthorName() {
    return authorName;
  }

  public void setAuthorName(String authorName) {
    this.authorName = authorName;
  }

  public OpenActionModel getOpenInfo() {
    return openInfo;
  }

  public void setOpenInfo(OpenActionModel openInfo) {
    this.openInfo = openInfo;
  }

  @Override
  public String toString() {
    return "ArticleModel{" +
        "pk='" + pk + '\'' +
        ", title='" + title + '\'' +
        ", authorName='" + authorName + '\'' +
        ", openInfo=" + openInfo +
        ", transientModel='" + transientModel + '\'' +
        '}';
  }
}
